package com.wyd.studentboot.mapper;

import com.wyd.studentboot.bean.StudentBean;
import com.wyd.studentboot.bean.UserBean;
import org.apache.ibatis.annotations.Mapper;


import java.util.List;
@Mapper
public interface StudentMapper {
    //根据ID查询学生信息
    StudentBean selectStudentById(String id);

    //插入新的学生
    int insertStudent(StudentBean studentBean);

    //删除学生
    int deleteStudent(String id);

    //修改学生
    int updateStudent(StudentBean studentBean);

    //查询所有学生
    List<StudentBean> getAllStudent();

    List<StudentBean> findName(String student_name);
}
